NuclearEngagement\Services\BulkGenerationBatchProcessor D

Total Complexity 296
Dependencies 16
Dependents 10
Total lines 2,173
Lines of code 1,485
Logical lines of code 705
Comment lines 370
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
update_batch_status()
D
13
68 318
schedule_batch_processing()
C
31 27 115
check_and_recover_stuck_tasks()
C
30 26 118
queue_generation()
C
30 20 128
force_task_completion_check()
B
35 21 85
create_batch_jobs()
B
32 17 111
get_batch_status()
B
42 16 49
cleanup_old_batches()
A
37 13 73
cleanup_old_bulk_jobs()
A
39 12 62
calculate_optimal_batch_size()
A
40 10 63
schedule_next_batch()
A
41 10 56
recheck_batch_counts()
A
48 10 30
get_retry_status()
A
47 8 37
acquire_lock()
A
47 7 38
handle_failed_batch()
A
39 4 80
release_lock()
S
58 6 16
cleanup_orphaned_batches()
S
50 5 29
get_current_processing_count()
S
54 5 21
create_batches()
S
53 2 24
get_site_option()
S
68 2 7
update_site_option()
S
68 2 7
delete_site_option()
S
69 2 7
__construct()
S
73 1 5
should_batch_process()
S
80 1 3
get_service_name()
S
82 1 3